function aa(obj) {
	let txt;
	for (i = 0; i < obj.length; i++) {
		let option = obj[i];
		if (option.value == obj.value) {
			txt = option.label;
		}
	}
}

async function getDicts2() {
	let a = await getDicts();
	console.log(a);
	return a;
}

function getDicts() {
	return new Promise((resolve) => {
		setTimeout(() => {
			resolve('haha');
		}, 2000);
	});
}

getDicts2();
